// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeOperationLogsResponse.h"

namespace aliyun { namespace Rds {

DescribeOperationLogsResponse::DescribeOperationLogsResponse() {
}

const string& DescribeOperationLogsResponse::Operationlog::GetDBInstanceDescription(void) const {
  return DBInstanceDescription_;
}

const string& DescribeOperationLogsResponse::Operationlog::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const string& DescribeOperationLogsResponse::Operationlog::GetOperationSource(void) const {
  return OperationSource_;
}

const string& DescribeOperationLogsResponse::Operationlog::GetOperationItem(void) const {
  return OperationItem_;
}

const string& DescribeOperationLogsResponse::Operationlog::GetexecutionTime(void) const {
  return executionTime_;
}

const std::vector<DescribeOperationLogsResponse::Operationlog>& DescribeOperationLogsResponse::GetItems(void) const {
  return Items_;
}

const string& DescribeOperationLogsResponse::GetEngine(void) const {
  return Engine_;
}

int DescribeOperationLogsResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeOperationLogsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeOperationLogsResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeOperationLogsResponse::BaseKey(void) {
  return "DescribeOperationLogsResponse";
}

void DescribeOperationLogsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeOperationLogsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBInstanceDescription_, response_map, "DescribeOperationLogsResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceDescription");
      UnmarshallerString(Items_[i1].DBInstanceId_, response_map, "DescribeOperationLogsResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceId");
      UnmarshallerString(Items_[i1].OperationSource_, response_map, "DescribeOperationLogsResponse.Items["+string_ValueOfInt(i1)+"].OperationSource");
      UnmarshallerString(Items_[i1].OperationItem_, response_map, "DescribeOperationLogsResponse.Items["+string_ValueOfInt(i1)+"].OperationItem");
      UnmarshallerString(Items_[i1].executionTime_, response_map, "DescribeOperationLogsResponse.Items["+string_ValueOfInt(i1)+"].executionTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(Engine_, response_map, "DescribeOperationLogsResponse.Engine");
  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeOperationLogsResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeOperationLogsResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeOperationLogsResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
